package com.cooldatasoft.domain.service;

import java.util.List;

import com.cooldatasoft.domain.model.Event;
import com.cooldatasoft.domain.model.User;

public interface EventService {

	Long insertEvent(Event myEvent);

	void updateEvent(Event myEvent);
	
	void deleteEvent(Long myEventId);

	List<Event> getAllEvent();
	
	Event getById(Long id);
	
	List<Event> getAllEventOfUser(User user);
}
